package com.czxy.service;

import com.czxy.domain.Commodity;
import com.czxy.domain.CommodityVo;
import com.github.pagehelper.PageInfo;

/**
 * @author zhangmengxiang1@itcast.cn
 * @version 1.0
 * @date 2020/2/11
 */
public interface CommodityService {
    PageInfo<Commodity> findAllCommodity(CommodityVo commodityVo);

    PageInfo<Commodity> findAllCommodityQS(CommodityVo commodityVo);

    Commodity checkoutBycid(Integer cid);

    void updateCommodity(Commodity commodity);

    void updateCommodityNumber(Integer cid);
}
